
<script>
  import $ from 'dfish-widget'
  import Widget from '../Widget.vue'

  export default {
    mixins: [Widget],
    data() {
      return {
        name: 'Video',
        remark: '视频播放器。支持的视频格式: mp4 ogg webm',
        attrs: [{
          name: 'src',
          type: 'String',
          remark: '视频地址'
        }, {
          name: 'poster',
          type: 'String',
          remark: '封面图片地址'
        }],
				examples: [{
				  remark: '视频范例',
				  type: 'html',
				  code: `
				    <template>
				      <w-video width="1280" height="960" src="./readme.mp4"></w-video>
				    </template>
				  `,
				}]
      }
    }
  }
</script>

<style>
</style>
